Mining Control Flow Abnormality for Logic Error Isolation
نویسندگان
چکیده
Analyzing the executions of a buggy program is essentially a data mining process: Tracing the data generated during program executions may disclose important patterns and outliers that could eventually reveal the location of software errors. In this paper, we investigate program logic errors, which rarely incur memory access violations but generate incorrect outputs. We show that through mining program control flow abnormality, we could isolate many logic errors without knowing the program semantics. In order to detect the control abnormality, we propose a hypothesis testing-like approach that statistically contrasts the evaluation probability of condition statements between correct and incorrect executions. Based on this contrast, we develop two algorithms that effectively rank functions with respect to their likelihood of containing the hidden error. We evaluated these two algorithms on a set of standard test programs, and the result clearly indicates their effectiveness.
منابع مشابه
Adaptive and intelligent control of permanent magnet synchronous motor (PMSM) using a combination of fuzzy logic and gray wolf algorithm under fault condition
Nowadays, permanent magnet synchronous motors have been widely used in industry due to the elimination of excitation losses, longer life and higher efficiency. Errors in engine and drive systems are unavoidable during operation. Therefore, a suitable scenario should be considered for when these systems fail. If the necessary predictions and control algorithms are not considered for the error co...
متن کاملNonlinear Modelling of Kerman Combined Cycle Power Plant Drum-Boiler and Drum Level control especially in trip conditions
There are various methods of power generation such as combined cycle power plants. There are many variables in a power plant boiler unit, but the most important variables are Pressure and specially drum level that control system should be put it in the safe range. The purpose of this article is, modifying the oscillatory behavior of the drum level of Kerman combined cycle power plant and especi...
متن کاملOptimized Fuzzy Logic for Nonlinear Vibration Control of Aircraft Semi-active Shock Absorber with Input Constraint (TECHNICAL NOTE)
Landing impact and runway unevenness have proximate consequence on performance of landing gear system and conduce to discomfort of passengers and reduction of the pilot’s capability to control aircraft. Finally, vibrations caused by them result in structure fatigue. Fuzzy logic controller is used frequently in different applications because of simplicity in design and implementation. In the pre...
متن کاملDesigning an adaptive fuzzy control for robot manipulators using PSO
This paper presents designing an optimal adaptive controller for tracking control of robot manipulators based on particle swarm optimization (PSO) algorithm. PSO algorithm has been employed to optimize parameters of the controller and hence to minimize the integral square of errors (ISE) as a performance criteria. In this paper, an improved PSO using logic is proposed to increase the convergenc...
متن کاملA FUZZY-BASED SPEED CONTROLLER FOR IMPROVEMENT OF INDUCTION MOTOR'S DRIVE PERFORMANCE
Induction motors (IMs) are widely used in many industrial applications due to their robustness, low cost, simplicity and relative good efficiency. One of the major considerations for IMs is their speed control. PI (proportional-integrator) controllers are usually used as speed controller. Adjusting the gain of PI controller is time-consuming which needs thorough considerations. Hence, fuzzy con...
متن کامل